home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 2002 November / SGI Freeware 2002 November - Disc 2.iso / dist / fw_glimpse.idb / usr / freeware / src / glimpse-3.0 / libtemplate / Makefile.z / Makefile
Makefile  |  1997-09-09  |  3KB  |  104 lines

  1. # Generated automatically from Makefile.in by configure.
  2. #
  3. #  Makefile for the common source directory
  4. #
  5. #  $Id: Makefile.in,v 1.10 1994/09/30 22:11:28 hardy Exp $
  6. #
  7. SUBDIRS        = util template
  8. DEBUG_TOP    = #-O #-g #-DDEBUG
  9.  
  10. srcdir = .
  11. prefix = /usr/local/harvest
  12. INSTALL_BINDIR    = $(prefix)/bin
  13. INSTALL_LIBDIR    = $(prefix)/lib
  14. INSTALL_MANDIR     = $(prefix)/man
  15.  
  16. SHELL        = /bin/sh
  17. CC        = cc
  18. INSTALL        = .././install-sh -c
  19. INSTALL_BIN     = ${INSTALL}
  20. INSTALL_FILE     = ${INSTALL} -m 644
  21. RANLIB        = :
  22. LN_S        = ln -s
  23. XTRA_LIBS    = @XTRA_LIBS@
  24.  
  25.  
  26. # old variables for backward compatability
  27. INSTALLDIR     = $(INSTALL_BINDIR)
  28. INSTALL_SCRIPT     = $(INSTALL_BIN)
  29.  
  30. INSTALL_DIRS    = $(prefix) $(INSTALL_BINDIR) $(INSTALL_LIBDIR) \
  31.           $(INSTALL_MANDIR)
  32.  
  33. all:
  34.     @for dir in $(SUBDIRS); do \
  35.         echo Making $@ in $$dir; \
  36.         (cd $$dir; $(MAKE) $(MFLAGS) \
  37.             INSTALL_BINDIR="$(INSTALL_BINDIR)" \
  38.             INSTALL_LIBDIR="$(INSTALL_LIBDIR)" \
  39.             INSTALL_MANDIR="$(INSTALL_MANDIR)" \
  40.             RANLIB="$(RANLIB)" \
  41.             DEBUG_TOP="$(DEBUG_TOP)" \
  42.             INSTALL_BIN="$(INSTALL_BIN)" \
  43.             INSTALL_FILE="$(INSTALL_FILE)" \
  44.             INSTALLDIR="$(INSTALL_BINDIR)" \
  45.             INSTALL_SCRIPT="$(INSTALL_SCRIPT)"  $@); \
  46.     done
  47.  
  48. install:
  49.     @for dir in $(SUBDIRS); do \
  50.         echo Making $@ in $$dir; \
  51.         (cd $$dir; $(MAKE) $(MFLAGS) \
  52.             INSTALL_BINDIR="$(INSTALL_BINDIR)" \
  53.             INSTALL_LIBDIR="$(INSTALL_LIBDIR)" \
  54.             INSTALL_MANDIR="$(INSTALL_MANDIR)" \
  55.             RANLIB="$(RANLIB)" \
  56.             INSTALL_BIN="$(INSTALL_BIN)" \
  57.             INSTALL_FILE="$(INSTALL_FILE)" \
  58.             INSTALLDIR="$(INSTALL_BINDIR)" \
  59.             INSTALL_SCRIPT="$(INSTALL_SCRIPT)" $@); \
  60.     done
  61.  
  62. clean:
  63.     -@for dir in lib $(SUBDIRS); do \
  64.         echo Making $@ in $$dir; \
  65.         (cd $$dir; $(MAKE) $(MFLAGS) \
  66.             INSTALL_BINDIR="$(INSTALL_BINDIR)" \
  67.             INSTALL_LIBDIR="$(INSTALL_LIBDIR)" \
  68.             INSTALL_MANDIR="$(INSTALL_MANDIR)" \
  69.             RANLIB="$(RANLIB)" \
  70.             INSTALL_BIN="$(INSTALL_BIN)" \
  71.             INSTALL_FILE="$(INSTALL_FILE)" \
  72.             INSTALLDIR="$(INSTALL_BINDIR)" \
  73.             INSTALL_SCRIPT="$(INSTALL_SCRIPT)" $@); \
  74.     done
  75.  
  76. realclean:    clean
  77.     -rm -f Makefile include/autoconf.h include/paths.h config.status *~ core
  78.     -@for dir in gdbm lib $(SUBDIRS); do \
  79.         echo Making $@ in $$dir; \
  80.         (cd $$dir; $(MAKE) $(MFLAGS) \
  81.             INSTALL_BINDIR="$(INSTALL_BINDIR)" \
  82.             INSTALL_LIBDIR="$(INSTALL_LIBDIR)" \
  83.             INSTALL_MANDIR="$(INSTALL_MANDIR)" \
  84.             RANLIB="$(RANLIB)" \
  85.             INSTALL_BIN="$(INSTALL_BIN)" \
  86.             INSTALL_FILE="$(INSTALL_FILE)" \
  87.             INSTALLDIR="$(INSTALL_BINDIR)" \
  88.             INSTALL_SCRIPT="$(INSTALL_SCRIPT)"  $@); \
  89.     done
  90.  
  91. #
  92. #  Compiles and installs gdbm from scratch.  Works with gdbm-1.7.3
  93. #
  94. all-gdbm:
  95.     @echo Making all in gdbm
  96.     @rm -f gdbm/autoconf.h
  97.     @$(LN_S) ../include/autoconf.h gdbm/autoconf.h
  98.     @(cd gdbm; \
  99.         $(MAKE) $(MFLAGS) gdbm.h libgdbm.a; \
  100.         $(INSTALL_FILE) gdbm.h ../include/gdbm.h; \
  101.         $(INSTALL_FILE) libgdbm.a ../lib/libgdbm.a; \
  102.         $(RANLIB) ../lib/libgdbm.a \
  103.     )
  104.